#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Experimental.Commodities
{
     // <summary> 
	// ! Amount of a commodity
	// </summary>
    [Guid ("8FC3E6DF-0CFD-4e9e-8A2B-ABF3A69D6AA8"),ComVisible(true)]
	public interface IQuantity 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Double Amount {get;}
        
		 Cephei.QL.Experimental.Commodities.ICommodityType CommodityType {get;}
        
		 Cephei.QL.Experimental.Commodities.IQuantity Rounded {get;}
        
		 Cephei.QL.Experimental.Commodities.IUnitOfMeasure UnitOfMeasure {get;}
    }

    // <summary> 
	// ! Amount of a commodity Factory
	// </summary>
   	[ComVisible(true)]
    public interface IQuantity_Factory // : Collection_Factory<IQuantity, ICell<IQuantity>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IQuantity Create (Cephei.QL.Experimental.Commodities.ICommodityType commodityType, Cephei.QL.Experimental.Commodities.IUnitOfMeasure unitOfMeasure, Double amount);
        
	    IQuantity Create ();
    }
}

